package com.fowo.api.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Schema(title = "消息发送状态")
@TableName("sys_message_to")
@Data
public class SysMessageTo implements Serializable {

    /**
     * 主键编号
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private Long messageId;

    private Long toUserId;

    private Boolean isRead;

    private Date readTime;

    @TableLogic
    private Boolean delFlag;
}
